#! /bin/sh

ndir=`pwd`

git pull origin master
b64file="$ndir/YE_KEY_BOX.base64"

if [ -e $keyfile ] ; then
	echo "Please delete the \"YE_KEY_BOX.kdbx\" file..."
	exit
fi

if [ -e $b64file ]
then
	echo "found: .base64"
	base64 -i -d $b64file > $ndir/YE_KEY_BOX.kdbx
	echo "Convert base64 to bin: .kdbx"
fi

